package com.ljs.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    private  int id;
    private User user;
    private Menu menu;
    private Admin admin;
    private Date date;
    private  int state;

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", user=" + user +
                ", menu=" + menu +
                ", admin=" + admin +
                ", date=" + date +
                ", state=" + state +
                '}';
    }
}
